package com.heima.apis.wemedia;

import com.heima.model.wemedia.pojos.WmSensitive;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "leadnews-wemedia",contextId = "sensitiveClient")
public interface WemediaFeign {


    @GetMapping("/api/v1/sensitive/all")
    public List<WmSensitive> getAll();
}
